<%--
  Created by IntelliJ IDEA.
  User: lmj
  Date: 2019/4/8
  Time: 7:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    if(session.getAttribute("username")==null){
        response.sendRedirect("loginAndRegister.jsp");
    }
%>
<%
    String like=request.getParameter("like");
    String height=request.getParameter("height");
    String sex=request.getParameter("sex");
    String age=request.getParameter("age");
%>
<table>
    <tr>
        <td>爱好</td>
        <td><%=like%></td>
    </tr>
    <tr>
        <td>身高</td>
        <td><%=height%></td>
    </tr>
    <tr>
        <td>性别</td>
        <td><%=sex%></td>
    </tr>
    <tr>
        <td>年龄</td>
        <td><%=age%></td>
    </tr>
</table>

<br>
<a href="logout.jsp">退出登录</a>&nbsp;&nbsp;
<a href="loginAndRegister.jsp">返回首页</a>&nbsp;&nbsp;
<a href="show_User_Info.jsp">个人信息</a>
</body>
</html>
